package com.choose.seat.common.dao;


import com.choose.seat.common.domain.TaskDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-10-03 15:45:42
 */
@Mapper
public interface TaskDao {

	TaskDTO get(Long id);

	List<TaskDTO> list(Map<String,Object> map);

	int count(Map<String,Object> map);

	int save(TaskDTO task);

	int update(TaskDTO task);

	int remove(Long id);

	int batchRemove(Long[] ids);
}
